def fibo(n):
   if n < 3:
　　　　return 1
　　return fibo(n-1) + fibo(n-2)
 
print(fibo(6))

def fibo1(n):
　　a, b = 1, 1
　　for i in range(n):
        a, b = b, a+b
　　return a

print(fibo1(6))

def fibo2(n):
    a, b = 1, 1
    while n:
        yield a
        a, b = b, a+b
        n -= 1

for i in fibo2(6):
    print(i)